package com.zretc.entity;

/**
 * 物流信息类
 *
 * @author: bLUeSuMMerDreamer
 * @createTime: 2020-07-21 11:19
 */
public class Track {
    //信息ID
    private String trackId;
    //时间
    private String dateTime;
    //操作码
    private String opCode;
    //所属订单
    private Order order;
    //仓库
    private House house;
    //负责快递员
    private Courier courier;
    //负责仓库管理员
    private HouseManager houseManager;
    //下一站仓库
    private House nextHouse;
    //前序信息
    private Track prevTrack;

    @Override
    public String toString() {
        return "Track{" +
                "trackId='" + trackId + '\'' +
                ", dateTime='" + dateTime + '\'' +
                ", opCode='" + opCode + '\'' +
                ", order=" + order +
                ", house=" + house +
                ", courier=" + courier +
                ", houseManager=" + houseManager +
                ", nextHouse=" + nextHouse +
                ", prevTrack=" + prevTrack +
                '}';
    }

    public String getTrackId() {
        return trackId;
    }

    public void setTrackId(String trackId) {
        this.trackId = trackId;
    }

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public String getOpCode() {
        return opCode;
    }

    public void setOpCode(String opCode) {
        this.opCode = opCode;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public House getHouse() {
        return house;
    }

    public void setHouse(House house) {
        this.house = house;
    }

    public Courier getCourier() {
        return courier;
    }

    public void setCourier(Courier courier) {
        this.courier = courier;
    }

    public HouseManager getHouseManager() {
        return houseManager;
    }

    public void setHouseManager(HouseManager houseManager) {
        this.houseManager = houseManager;
    }

    public House getNextHouse() {
        return nextHouse;
    }

    public void setNextHouse(House nextHouse) {
        this.nextHouse = nextHouse;
    }

    public Track getPrevTrack() {
        return prevTrack;
    }

    public void setPrevTrack(Track prevTrack) {
        this.prevTrack = prevTrack;
    }

    public Track(String trackId, String dateTime, String opCode, Order order, House house, Courier courier, HouseManager houseManager, House nextHouse, Track prevTrack) {
        this.trackId = trackId;
        this.dateTime = dateTime;
        this.opCode = opCode;
        this.order = order;
        this.house = house;
        this.courier = courier;
        this.houseManager = houseManager;
        this.nextHouse = nextHouse;
        this.prevTrack = prevTrack;
    }

    public Track() {
    }
}
